﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AbstractFramework.LogicControl;

namespace AbstractFramework.Display
{
    public interface IElevatorDisplay
    {
        //void initialize(int floorsNum, int initPos, IElevator logicElevator);//初始化电梯显示器
        void initialize(int floorsNum, IElevator logicElevator);//初始化电梯显示器
        int getFloorsNum();//获取电梯显示器的层数
       // int getCurrentPos();//获取当前正处于的楼层
        ElevatorStatus getElevatorState();//获取当前电梯状态
        void goUp(int n);//向上移动n层
        void goDown(int n);//向下移动n层
        void open(bool triggerEvent);//开门
        void close(bool triggerEvent);//关门
    }
}
